package org.icress.fusion.shiro

class Role {
    
    String name

    static hasMany = [ users: User, permissions: String ]
    static belongsTo = User
	
    static constraints = {
        name(nullable: false, blank: false, unique: true, maxSize:25)
    }
	
	static mapping = {
		table 'Shiro$Role'
	}
}